﻿using AutoMapper;
using T_vehicle.API.Application.Command.IllegalCommand;
using T_vehicle.Domain;

namespace T_vehicle.API.Extensions
{
    public class IllegalAuto:Profile 
    {
        public IllegalAuto()
        {
            //添加违章记录
            CreateMap<AddIllegalCommand, Illegal>().ReverseMap();
            //修改违章记录
            CreateMap<UpdateIllegalCommand, Illegal>().ReverseMap();
        }
    }
}
